package presentation;

import java.util.Date;

public class RowData 
{
	protected int mRowId;
	protected String mImagePath;
	protected String mTitle;
	protected Date mDate;
	   
	public RowData(int rowId, String imagePath, String title, Date date)
	{
		mRowId = rowId;
		mImagePath = imagePath;
		mTitle = title;
		mDate = date;
	}
	
	public String formatDateTime() 
	{
		return (String)(android.text.format.DateFormat.format("yyyy-MM-dd  hh:mm:ss", mDate));
	}
}
